const express = require("express")
const router = express.Router()
const roles_handle = require("../../router_handler/admin/roles")

router.get("/index/roles/getRolesInfo",roles_handle.getRolesInfo)
router.get("/index/roles/hasAuthoritysInfo",roles_handle.hasAuthoritys)
router.get("/index/roles/hasUsersInfo",roles_handle.hasUsers)
router.post("/index/roles/editRolesInfo",roles_handle.editRoles)
router.post('/index/Roles/changeRoleAuth',roles_handle.changeRoleAuth)
router.post('/index/Roles/changeRoleUser',roles_handle.changeRoleUser)

module.exports = router